<script setup lang="ts">
import {onMounted, ref} from 'vue';
import EditEnterprise from "@/components/enterpriseManage/saveEnterpriseInfo.vue";
import {useRoute} from "vue-router";

const route = useRoute();
const enterpriseId = ref();
onMounted(() => {
  enterpriseId.value = route.query.enterpriseId;
})
</script>

<template>
  <span class="main-wrapper">
    <edit-enterprise title="编辑企业信息" :id="enterpriseId"></edit-enterprise>
  </span>
</template>

<style scoped>
.main-wrapper {
  display: flex;
  justify-content: center;
  /*height: calc(100% - var(--guide-height));*/
  overflow-y: auto;
  height: 100%;
  width: 100%;
  background-color: var(--color-light);
}

</style>